libxc portability fixes for NetBSD.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 19 Sep 2007 14:42:56 +0000 (15:42 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 19 Sep 2007 14:42:56 +0000 (15:42 +0100)
commit72f379b5b2a00489b5cbd10277ab4b7f7e9d0b71
treec77b32b8917771883e7347fccf6389be479e8e72
parente3157936d4d42de828b88c4bde7d9c6f67c41fa4
libxc portability fixes for NetBSD.

 - use MAP_ANON, that is what both (BSD-)Unix and Linux have
 - change last_error handling to use pthreads
 - round mlock() parameters to page alignment
 - cleanup: No need to include <xen/sys/privcmd.h>
            a second time in xg_private.h

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/libxc/xc_dom_core.c
tools/libxc/xc_private.c
tools/libxc/xg_private.h